Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / Application-Defined Functions
/


MySetUpPort

Sets up the graphics port. This is how you would define your port setup function if you were to name it MySetUpPort:

void* MySetUpPort (JMFrameRef frame);
frame
The frame that wants the port.
function result
Defined by the client application. You can return any value depending on how you want to use the graphics port.
DISCUSSION
When creating a frame, you must designate a callback function to set up a graphics port (GrafPort) associated with it. You cannot nest this function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997